﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GeckoPhotos.Tests.Service;
using GeckoPhotos.Models;
using GeckoPhotos.Repository;

namespace GeckoPhotos.Tests.TestUtil
{
    public class InMemoryUserRepository : InMemoryRepository<User>, IUserRepository
    {

        public User SingleWithMessages(Func<User, bool> query)
        {
            return _items.Where(query).Single();
        }
    }
}
